<?php

return [

    /*
    |--------------------------------------------------------------------------
    | Statistics Cache Configuration
    |--------------------------------------------------------------------------
    |
    | This file contains configuration options for statistics caching.
    | You can configure cache TTL and other cache-related settings here.
    |
    */

    /*
    |--------------------------------------------------------------------------
    | Cache TTL (Time To Live)
    |--------------------------------------------------------------------------
    |
    | The time in seconds that statistics data should be cached.
    | Default is 1800 seconds (30 minutes).
    |
    */
    'cache_ttl' => env('STATISTICS_CACHE_TTL', 1800),

    /*
    |--------------------------------------------------------------------------
    | Cache Key Prefix
    |--------------------------------------------------------------------------
    |
    | The prefix used for all statistics cache keys to avoid conflicts
    | with other cache entries.
    |
    */
    'cache_prefix' => env('STATISTICS_CACHE_PREFIX', 'stats'),

    /*
    |--------------------------------------------------------------------------
    | Cache Store
    |--------------------------------------------------------------------------
    |
    | The cache store to use for statistics caching.
    | If null, the default cache store will be used.
    |
    */
    'cache_store' => env('STATISTICS_CACHE_STORE', null),

    /*
    |--------------------------------------------------------------------------
    | Enable Cache
    |--------------------------------------------------------------------------
    |
    | Whether to enable caching for statistics queries.
    | Set to false to disable caching entirely.
    |
    */
    'enable_cache' => env('STATISTICS_ENABLE_CACHE', true),

];